<?php
class accountModel {
	
	var $base;
	var $db;
	
	function __construct($base) {
		$this->base = $base;
		$this->db = $this->base->connect();
	}
	
	function index() {
		echo 'hao';
	}
	
	function register() {
		//$this->db->query("insert into user(user_name,user_pass,user_email) values ('erhuok',SHA('123456'),'erhu.ok@163.com')");
		
	}
}
?>